package com.apop.common.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName ConfigProperties
 * @Author Jiayi Zheng
 * @Date 2021/11/23 15:41
 * @Description: 项目环境配置参数
 * @Version V1.0
 */
@Configuration
@Getter
public class AppConfig {

    /**
     * 文件上传目录
     */
    @Value("${res.upload.path}")
    String uploadPath;

    /**
     * 是否开启请求日志
     */
    @Value("${zframework.requestLog}")
    Boolean requestLog;
}
